/*
 * @Author: hruomei
 * @Title: 请求路径配置文件
 * @Description: 为了统一管理移动中台共有请求,配置相关权限,将请求路径放在本文件统一管理
 * @CreateTime: 2019/10/01
 * @LastUpDateTime: 2020/01/20
 * @Version: V1.03
*/

import {
    THIS as _this
} from './api.js'
import { setUrlParams } from '@/workspaces/api/framework/api.js';
// 获取版本信息
export function checkverandupdatedev(params) {
    return _this.$lyRequest.post('/lyapp/apphandler/mobileversion/checkverandupdatedev.do', params);
}
// 退出登录
export function outlogin(params) {
    return _this.$lyRequest.post('/lyapp/manager/login/outlogin.do', params);
}
// 登录
export function validlogin(params, urlParams) {
    return _this.$lyRequest.post(setUrlParams('/gateway/allinoneservice/mp/login/validlogin.do', urlParams), params,'form');
}
// 获取bpm的token
export function gettwotokenBPMtoken(params) {
    return _this.$lyRequest.post('/gateway/basedata/srm/f2bpm/getToken.do', params,'form');
}

